﻿using System.Collections.Generic;

namespace hoemwork
{
    public class Teacher : Person
    {
        //public int Id { get; set; }
        //public string Name { get; set; }
        //  public int Age { get; set; }
        public string Major { get; set; }
        public double Salary { get; set; }
        public virtual IList<Student> Students { get; set; }


    }
}